#!/bin/bash

zkHome=/opt/module/zookeeper-3.4.14

case $1 in 
"start" )
    xcall "${zkHome}/bin/zkServer.sh start"
;;

"stop" ）
    xcall "${zkHome}/bin/zkServer.sh stop"
;;

"status" ）
    xcall "${zkHome}/bin/zkServer.sh status"
;;
esac